/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the vst4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.hexu.sharedb.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;


@Data
@TableName("v_ts_sharding_key")
public class TsShardingKey {

    @TableId
    private String uCode;

    /**
     * 类型: 1:批量、2:唯一
     */
    private String type;

    /**
     * 绑定时间 YYYY-MM-DD hh24:mm:ss
     */
    private String bindTime;

    /**
     * 绑定站点
     */
    private String bindStation;

    /**
     * code
     */
    private String code;

    /**
     * 版本号
     */
    private String version;

    /**
     * 预留字段
     */
    private String reservation1;

    /**
     * 预留字段
     */
    private String reservation2;

    /**
     * 预留字段
     */
    private String reservation3;

    /**
     * 状态 0：未上传 1：已上传
     */
    private String state;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
